
// Fonts
//@import url('https://fonts.googleapis.com/css?family=Nunito');

// Variables
//@import 'variables';

$purple: #2d2936;
//$secondary: #4c4b4e;
//$input-color: $purple;

// Bootstrap
@import "~bootswatch/dist/pulse/variables";
//$primary:       $gray-900;
$secondary: $gray-700;
@import '~bootstrap/scss/bootstrap';
@import "~bootswatch/dist/pulse/bootswatch";
@import "./nprogress.css";
@import "~rc-cascader/assets/index.css";
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin:0.3rem 0;
}
body {
    min-width: 800px;
}
.rc-cascader-menus {
    border-radius: 0;
    z-index:20;
    background: rgba(255,255,255, 0.9);
}
.rc-cascader-menu-item-active, .rc-cascader-menu-item:hover {
    background: #2d2936;
    color:#FFFFFF;
}
.rc-cascader-menu-item-disabled:hover {
    background:transparent;
    color:#CCCCCC;
}
.navbar-laravel {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.login, .register {
    max-width:600px;
    margin:0 auto;
}










@-webkit-keyframes up {
    from {
        opacity: 0.3;
        display: block;
        -webkit-transform: translateY(20px) scale(1);
    }
    to {
        opacity: 1;
        display:none;
        -webkit-transform: translateY(0) scale(1.2);
    }
}
@keyframes up {
    from {
        opacity: 0.3;
        display: block;
        transform: translateY(20px) scale(1);
    }
    to {
        opacity: 1;
        display:none;
        transform: translateY(0) scale(1.2);
    }
}

@keyframes fade-in {
    0% {opacity: 0;}
    30% {opacity: 0;}
    100% {opacity: 1;}
}
@-webkit-keyframes fade-in {
    0% {opacity: 0;}
    30% {opacity: 0;}
    100% {opacity: 1;}
}



.project-add {
    max-width: 600px;
    margin:0 auto;
}
.project-card {
    a {
        color:black;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        .project-name {
            transition: all 0.20s ease-in-out;
        }
    }
    a:hover{
        opacity:1;
        background-color: #efefef;
        transition: all 0.3s ease-in-out;
        //-webkit-transform:translateY(-6px);
        //transform: translateY(-6px);
        .project-name {
            transform:scale(1.07);
            -webkit-transform:scale(1.07);
            transition: all 0.20s ease-in-out;
        }
    }
}
.project-card:hover {
    .project-top {
        display:block;
    }
}
.project-top {
    font-size:12px;
    right:8px;
    top:3px;
    display:none;
    cursor: pointer;
    opacity: 0;
}
.project-top:hover {
    opacity: 1;
    color: #202020;
}
.project-share a {
    background-color: #fffded;
}
.search-results {
    width:300px;
    right: 8px;
    top:38px;
    z-index: 1020;
    background-color: #FFFFFF;
    > .items:hover {
        background-color: #e4e4e4;
    }
}
.toast {
    position:fixed;
    right: 10px;
    top: 10px;
    z-index:2000;
    small {
        width:150px;
    }
}
.project {

}
.project-left {
    top:0;
    height:calc(100vh);
    width:300px;
    .project-left-posts {
        a {
            color: #303132;
            img {
                width: 15px;
                margin-top: -2px;
            }
            span {
                padding-left: 8px;
            }
        }
        a:hover, a.nav-link.actived{
            background-color: #e4e4e4 !important;
        }
    }
    .dropdown-item:hover img {
    }
}


.project-right {
    width: calc(100% - 300px);
    .post-delete {
        color:#e50303;
    }
    .post-delete:hover, .post-delete:focus {
        color:#FFFFFF;
        background-color:#e50303;
    }
    #post-content.post-content {
        animation: fade-in;
        animation-duration: 0.5s;
        -webkit-animation:fade-in 0.5s;
    }
    .post-center {
        max-width:940px;
        min-height: 400px;
        margin:0 auto;
    }
    .like-animate {
        left: 18px;
        top: -34px;
        opacity: 0;
        -webkit-animation: up 0.8s cubic-bezier(.2,0,.13,2);
        animation: up 0.8s cubic-bezier(.2,0,.13,2);
    }
    .post-comment {
        max-width:900px;
        margin:0 auto;
        .title {
            border-bottom: 4px solid #616161;
        }
    }
}
#post-like {
    .like-emoji {
        cursor: pointer;
        transform:scale(1);
        -webkit-transform:scale(1);
        transition: transform .15s cubic-bezier(.2,0,.13,2);
    }
    .like-emoji:hover {
        transform:scale(1.2);
        -webkit-transform:scale(1.2);
        transition: transform .15s cubic-bezier(.2,0,.13,2);
    }
}

.project-manager {
    max-width: 1100px;
    margin:0 auto;
    .manager-left {
        width: 180px;
        padding-right:20px;
        a {
            color: #303132;
        }
        a:hover, a.nav-link.active{
            color: $white;
            background-color: $primary;
        }
    }
    .manager-right {
        width: calc(100% - 200px);
    }
    .permission-search {
        left: 15px;
        top: 35px;
        min-width: 300px;
        .list-group-item:hover {
            background-color: #e4e4e4 !important;
        }
    }
}

#code-diff {
    code {
        color: #000000;
    }
}
.history-diff-modal {
    max-width: 80%;
}

.hr-gray {
    display:block;
    height: 10px;
    background-color: #F0F2F5;
}
